ComponentOne DataGrid for WPF and Silverlight
SortBy(DataGridColumn[]) Method

C1.Silverlight.DataGrid Namespace > C1DataGrid Class > SortBy Method : SortBy(DataGridColumn[]) Method
The columns that will be ordered.
Sorts the data by the specified columns in ascending direction.
Syntax
'Declaration
 
Public Overloads Sub SortBy( _
   ByVal ParamArray columns() As DataGridColumn _
) 
public void SortBy( 
   params DataGridColumn[] columns
)

Parameters

columns
The columns that will be ordered.
Exceptions
ExceptionDescription
This exception is raised whether the collection view is not ready to execute a sort operation.
See Also

Reference

C1DataGrid Class
C1DataGrid Members
Overload List